package com.hckj.medical.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hckj.medical.entity.Middle;
import com.hckj.medical.mapper.MiddleMapper;
import com.hckj.medical.service.IMiddleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hckj
 * @since 2023-11-25
 */
@Service
public class MiddleServiceImpl extends ServiceImpl<MiddleMapper, Middle> implements IMiddleService {
    @Autowired
    private MiddleMapper middleMapper;
    @Override
    public Integer insertMiddle(Middle middle) {
        return middleMapper.insert(middle);
    }
}
